package com.example.curtainjs;

import ohos.aafwk.content.Intent;
import ohos.ace.ability.AceAbility;
import ohos.agp.components.Component;
import ohos.agp.utils.Color;

public class MainAbility extends AceAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart (intent);
        getWindow ().setStatusBarColor (Color.argb (255, 4, 116, 22));
          getWindow().setStatusBarVisibility (Component.HIDE);
    }

    @Override
    public void onStop() {
        super.onStop ();
    }
}
